#pragma once

#include <string>
#include "../utils/units.hh"
#include "../utils/graph.hh"
#include "../utils/painter.hh"

namespace icesp
{
    struct worker
    {
        static void run(
                std::string const& name,
                units::run_times const& ntimes,
                units::thread_count const& nthreads,
                units::relax_count_per_iter const& nrelax,
                graph::adj_matrix & mat,
                units::graph_source_point const& source,
                units::graph_target_point const& target,
                painter& p,
                painter& pad);
    };
}

